package com.common.web;

import com.core.entity.User;

public class MemberUtils {

	private final static String ADMIN_LOGIN_KEY="adminLoginKey";
	
	public static void setLoginMember(User user){
		ClientRequests.getSession().setAttribute(ADMIN_LOGIN_KEY, user);
	}
	
	public static User getLoginMember(){
		User user=(User)ClientRequests.getSession().getAttribute(ADMIN_LOGIN_KEY);
		return user;
	}
}
